<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstRTSPSession: GStreamer RTSP Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer RTSP Server Reference Manual">
<link rel="up" href="ch01.html" title="">
<link rel="prev" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool">
<link rel="next" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia">
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GstRTSPSession.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GstRTSPSession.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GstRTSPSession.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstRTSPSessionPool.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GstRTSPSessionMedia.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GstRTSPSession"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GstRTSPSession.top_of_page"></a>GstRTSPSession</span></h2>
<p>GstRTSPSession — An object to manage media</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GstRTSPSession.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="returnvalue">GstRTSPSession</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-new" title="gst_rtsp_session_new ()">gst_rtsp_session_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-sessionid" title="gst_rtsp_session_get_sessionid ()">gst_rtsp_session_get_sessionid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-header" title="gst_rtsp_session_get_header ()">gst_rtsp_session_get_header</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-set-timeout" title="gst_rtsp_session_set_timeout ()">gst_rtsp_session_set_timeout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-timeout" title="gst_rtsp_session_get_timeout ()">gst_rtsp_session_get_timeout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-touch" title="gst_rtsp_session_touch ()">gst_rtsp_session_touch</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-prevent-expire" title="gst_rtsp_session_prevent_expire ()">gst_rtsp_session_prevent_expire</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-allow-expire" title="gst_rtsp_session_allow_expire ()">gst_rtsp_session_allow_expire</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-next-timeout" title="gst_rtsp_session_next_timeout ()">gst_rtsp_session_next_timeout</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-is-expired" title="gst_rtsp_session_is_expired ()">gst_rtsp_session_is_expired</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="returnvalue">GstRTSPSessionMedia</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-manage-media" title="gst_rtsp_session_manage_media ()">gst_rtsp_session_manage_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-release-media" title="gst_rtsp_session_release_media ()">gst_rtsp_session_release_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="returnvalue">GstRTSPSessionMedia</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-media" title="gst_rtsp_session_get_media ()">gst_rtsp_session_get_media</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="returnvalue">GstRTSPFilterResult</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="GstRTSPSession.html#GstRTSPSessionFilterFunc" title="GstRTSPSessionFilterFunc ()">*GstRTSPSessionFilterFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glibglib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-filter" title="gst_rtsp_session_filter ()">gst_rtsp_session_filter</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="GstRTSPSession.html#GstRTSPSession--sessionid" title="The “sessionid” property">sessionid</a></td>
<td class="property_flags">Read / Write / Construct Only</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
<td class="property_name"><a class="link" href="GstRTSPSession.html#GstRTSPSession--timeout" title="The “timeout” property">timeout</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="GstRTSPSession.html#GstRTSPSession--timeout-always-visible" title="The “timeout-always-visible” property">timeout-always-visible</a></td>
<td class="property_flags">Read / Write</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GstRTSPSession.html#GstRTSPSession-struct" title="struct GstRTSPSession">GstRTSPSession</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GstRTSPSession.html#GstRTSPSessionClass" title="struct GstRTSPSessionClass">GstRTSPSessionClass</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult">GstRTSPFilterResult</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobjectgobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GstRTSPSession
</pre>
</div>
<div class="refsect1">
<a name="GstRTSPSession.description"></a><h2>Description</h2>
<p>The <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> is identified by an id, unique in the
<a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a> that created the session and manages media and its
configuration.</p>
<p>A <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> has a timeout that can be retrieved with
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-timeout" title="gst_rtsp_session_get_timeout ()"><code class="function">gst_rtsp_session_get_timeout()</code></a>. You can check if the sessions is expired with
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-is-expired" title="gst_rtsp_session_is_expired ()"><code class="function">gst_rtsp_session_is_expired()</code></a>. <a class="link" href="GstRTSPSession.html#gst-rtsp-session-touch" title="gst_rtsp_session_touch ()"><code class="function">gst_rtsp_session_touch()</code></a> will reset the
expiration counter of the session.</p>
<p>When a client configures a media with SETUP, a session will be created to
keep track of the configuration of that media. With
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-manage-media" title="gst_rtsp_session_manage_media ()"><code class="function">gst_rtsp_session_manage_media()</code></a>, the media is added to the managed media
in the session. With <a class="link" href="GstRTSPSession.html#gst-rtsp-session-release-media" title="gst_rtsp_session_release_media ()"><code class="function">gst_rtsp_session_release_media()</code></a> the media can be
released again from the session. Managed media is identified in the sessions
with a url. Use <a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-media" title="gst_rtsp_session_get_media ()"><code class="function">gst_rtsp_session_get_media()</code></a> to get the media that matches
(part of) the given url.</p>
<p>The media in a session can be iterated with <a class="link" href="GstRTSPSession.html#gst-rtsp-session-filter" title="gst_rtsp_session_filter ()"><code class="function">gst_rtsp_session_filter()</code></a>.</p>
<p>Last reviewed on 2013-07-11 (1.0.0)</p>
</div>
<div class="refsect1">
<a name="GstRTSPSession.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-rtsp-session-new"></a><h3>gst_rtsp_session_new ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="returnvalue">GstRTSPSession</span></a> *
gst_rtsp_session_new (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sessionid</code></em>);</pre>
<p>Create a new <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> instance with <em class="parameter"><code>sessionid</code></em>
.</p>
<div class="refsect3">
<a name="gst-rtsp-session-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>sessionid</p></td>
<td class="parameter_description"><p>a session id</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-get-sessionid"></a><h3>gst_rtsp_session_get_sessionid ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_rtsp_session_get_sessionid (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Get the sessionid of <em class="parameter"><code>session</code></em>
.</p>
<div class="refsect3">
<a name="gst-rtsp-session-get-sessionid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-get-sessionid.returns"></a><h4>Returns</h4>
<p> the sessionid of <em class="parameter"><code>session</code></em>
. The value remains valid
as long as <em class="parameter"><code>session</code></em>
is alive. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-get-header"></a><h3>gst_rtsp_session_get_header ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_rtsp_session_get_header (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Get the string that can be placed in the Session header field.</p>
<div class="refsect3">
<a name="gst-rtsp-session-get-header.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-get-header.returns"></a><h4>Returns</h4>
<p> the Session header of <em class="parameter"><code>session</code></em>
. <a href="/usr/share/gtk-doc/html/glibglib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> after usage. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-set-timeout"></a><h3>gst_rtsp_session_set_timeout ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_session_set_timeout (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a> timeout</code></em>);</pre>
<p>Configure <em class="parameter"><code>session</code></em>
 for a timeout of <em class="parameter"><code>timeout</code></em>
 seconds. The session will be
cleaned up when there is no activity for <em class="parameter"><code>timeout</code></em>
 seconds.</p>
<div class="refsect3">
<a name="gst-rtsp-session-set-timeout.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout</p></td>
<td class="parameter_description"><p>the new timeout</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-get-timeout"></a><h3>gst_rtsp_session_get_timeout ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gst_rtsp_session_get_timeout (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Get the timeout value of <em class="parameter"><code>session</code></em>
.</p>
<div class="refsect3">
<a name="gst-rtsp-session-get-timeout.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-get-timeout.returns"></a><h4>Returns</h4>
<p> the timeout of <em class="parameter"><code>session</code></em>
in seconds.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-touch"></a><h3>gst_rtsp_session_touch ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_session_touch (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Update the last_access time of the session to the current time.</p>
<div class="refsect3">
<a name="gst-rtsp-session-touch.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-prevent-expire"></a><h3>gst_rtsp_session_prevent_expire ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_session_prevent_expire (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Prevent <em class="parameter"><code>session</code></em>
 from expiring.</p>
<div class="refsect3">
<a name="gst-rtsp-session-prevent-expire.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-allow-expire"></a><h3>gst_rtsp_session_allow_expire ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_rtsp_session_allow_expire (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>);</pre>
<p>Allow <em class="parameter"><code>session</code></em>
 to expire. This method must be called an equal
amount of time as <a class="link" href="GstRTSPSession.html#gst-rtsp-session-prevent-expire" title="gst_rtsp_session_prevent_expire ()"><code class="function">gst_rtsp_session_prevent_expire()</code></a>.</p>
<div class="refsect3">
<a name="gst-rtsp-session-allow-expire.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-next-timeout"></a><h3>gst_rtsp_session_next_timeout ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gst_rtsp_session_next_timeout (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *now</code></em>);</pre>
<div class="warning">
<p><code class="literal">gst_rtsp_session_next_timeout</code> is deprecated and should not be used in newly-written code.</p>
<p>Use <code class="function">gst_rtsp_session_next_timeout_usec()</code> instead.</p>
</div>
<p>Get the amount of milliseconds till the session will expire.</p>
<div class="refsect3">
<a name="gst-rtsp-session-next-timeout.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>now</p></td>
<td class="parameter_description"><p> the current system time. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-next-timeout.returns"></a><h4>Returns</h4>
<p> the amount of milliseconds since the session will time out.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-is-expired"></a><h3>gst_rtsp_session_is_expired ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_rtsp_session_is_expired (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *session</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Date-and-Time-Functions.html#GTimeVal"><span class="type">GTimeVal</span></a> *now</code></em>);</pre>
<div class="warning">
<p><code class="literal">gst_rtsp_session_is_expired</code> is deprecated and should not be used in newly-written code.</p>
<p>Use <code class="function">gst_rtsp_session_is_expired_usec()</code> instead.</p>
</div>
<p>Check if <em class="parameter"><code>session</code></em>
 timeout out.</p>
<div class="refsect3">
<a name="gst-rtsp-session-is-expired.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>session</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>now</p></td>
<td class="parameter_description"><p> the current system time. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-is-expired.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>session</code></em>
timed out</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-manage-media"></a><h3>gst_rtsp_session_manage_media ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="returnvalue">GstRTSPSessionMedia</span></a> *
gst_rtsp_session_manage_media (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                               <em class="parameter"><code><a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a> *media</code></em>);</pre>
<p>Manage the media object <em class="parameter"><code>obj</code></em>
 in <em class="parameter"><code>sess</code></em>
. <em class="parameter"><code>path</code></em>
 will be used to retrieve this
media from the session with <a class="link" href="GstRTSPSession.html#gst-rtsp-session-get-media" title="gst_rtsp_session_get_media ()"><code class="function">gst_rtsp_session_get_media()</code></a>.</p>
<p>Ownership is taken from <em class="parameter"><code>media</code></em>
.</p>
<div class="refsect3">
<a name="gst-rtsp-session-manage-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sess</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>the path for the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p> a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-manage-media.returns"></a><h4>Returns</h4>
<p> a new <em class="parameter"><code>GstRTSPSessionMedia</code></em>
object. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-release-media"></a><h3>gst_rtsp_session_release_media ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_rtsp_session_release_media (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
                                <em class="parameter"><code><a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a> *media</code></em>);</pre>
<p>Release the managed <em class="parameter"><code>media</code></em>
 in <em class="parameter"><code>sess</code></em>
, freeing the memory allocated by it.</p>
<div class="refsect3">
<a name="gst-rtsp-session-release-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sess</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p> a <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-release-media.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if there are more media session left in <em class="parameter"><code>sess</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-get-media"></a><h3>gst_rtsp_session_get_media ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="returnvalue">GstRTSPSessionMedia</span></a> *
gst_rtsp_session_get_media (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
                            <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gint"><span class="type">gint</span></a> *matched</code></em>);</pre>
<p>Get the session media for <em class="parameter"><code>path</code></em>
. <em class="parameter"><code>matched</code></em>
 will contain the number of matched
characters of <em class="parameter"><code>path</code></em>
.</p>
<div class="refsect3">
<a name="gst-rtsp-session-get-media.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sess</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>the path for the media</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>matched</p></td>
<td class="parameter_description"><p> the amount of matched characters. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-get-media.returns"></a><h4>Returns</h4>
<p> the configuration for <em class="parameter"><code>path</code></em>
in <em class="parameter"><code>sess</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPSessionFilterFunc"></a><h3>GstRTSPSessionFilterFunc ()</h3>
<pre class="programlisting"><a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="returnvalue">GstRTSPFilterResult</span></a>
<span class="c_punctuation">(</span>*GstRTSPSessionFilterFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
                             <em class="parameter"><code><a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a> *media</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>This function will be called by the <a class="link" href="GstRTSPSession.html#gst-rtsp-session-filter" title="gst_rtsp_session_filter ()"><code class="function">gst_rtsp_session_filter()</code></a>. An
implementation should return a value of <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="type">GstRTSPFilterResult</span></a>.</p>
<p>When this function returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REMOVE:CAPS"><span class="type">GST_RTSP_FILTER_REMOVE</span></a>, <em class="parameter"><code>media</code></em>
 will be removed
from <em class="parameter"><code>sess</code></em>
.</p>
<p>A return value of <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-KEEP:CAPS"><span class="type">GST_RTSP_FILTER_KEEP</span></a> will leave <em class="parameter"><code>media</code></em>
 untouched in
<em class="parameter"><code>sess</code></em>
.</p>
<p>A value of GST_RTSP_FILTER_REF will add <em class="parameter"><code>media</code></em>
 to the result <a href="/usr/share/gtk-doc/html/glibglib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of
<a class="link" href="GstRTSPSession.html#gst-rtsp-session-filter" title="gst_rtsp_session_filter ()"><code class="function">gst_rtsp_session_filter()</code></a>.</p>
<div class="refsect3">
<a name="GstRTSPSessionFilterFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sess</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>media</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a> in <em class="parameter"><code>sess</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data that has been given to <a class="link" href="GstRTSPSession.html#gst-rtsp-session-filter" title="gst_rtsp_session_filter ()"><code class="function">gst_rtsp_session_filter()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GstRTSPSessionFilterFunc.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="GstRTSPSession.html#GstRTSPFilterResult" title="enum GstRTSPFilterResult"><span class="type">GstRTSPFilterResult</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-rtsp-session-filter"></a><h3>gst_rtsp_session_filter ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glibglib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
gst_rtsp_session_filter (<em class="parameter"><code><a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a> *sess</code></em>,
                         <em class="parameter"><code><a class="link" href="GstRTSPSession.html#GstRTSPSessionFilterFunc" title="GstRTSPSessionFilterFunc ()"><span class="type">GstRTSPSessionFilterFunc</span></a> func</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Call <em class="parameter"><code>func</code></em>
 for each media in <em class="parameter"><code>sess</code></em>
. The result value of <em class="parameter"><code>func</code></em>
 determines
what happens to the media. <em class="parameter"><code>func</code></em>
 will be called with <em class="parameter"><code>sess</code></em>

locked so no further actions on <em class="parameter"><code>sess</code></em>
 can be performed from <em class="parameter"><code>func</code></em>
.</p>
<p>If <em class="parameter"><code>func</code></em>
 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REMOVE:CAPS"><span class="type">GST_RTSP_FILTER_REMOVE</span></a>, the media will be removed from
<em class="parameter"><code>sess</code></em>
.</p>
<p>If <em class="parameter"><code>func</code></em>
 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-KEEP:CAPS"><span class="type">GST_RTSP_FILTER_KEEP</span></a>, the media will remain in <em class="parameter"><code>sess</code></em>
.</p>
<p>If <em class="parameter"><code>func</code></em>
 returns <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a>, the media will remain in <em class="parameter"><code>sess</code></em>
 but
will also be added with an additional ref to the result <a href="/usr/share/gtk-doc/html/glibglib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> of this
function..</p>
<p>When <em class="parameter"><code>func</code></em>
 is <a href="/usr/share/gtk-doc/html/glibglib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a> will be assumed for all media.</p>
<div class="refsect3">
<a name="gst-rtsp-session-filter.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sess</p></td>
<td class="parameter_description"><p>a <a class="link" href="GstRTSPSession.html" title="GstRTSPSession"><span class="type">GstRTSPSession</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p> a callback. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p> user data passed to <em class="parameter"><code>func</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-rtsp-session-filter.returns"></a><h4>Returns</h4>
<p> a GList with all
media for which <em class="parameter"><code>func</code></em>
returned <a class="link" href="GstRTSPSession.html#GST-RTSP-FILTER-REF:CAPS"><span class="type">GST_RTSP_FILTER_REF</span></a>. After usage, each
element in the <a href="/usr/share/gtk-doc/html/glibglib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> should be unreffed before the list is freed. </p>
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GstRTSPSessionMedia][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstRTSPSession-struct"></a><h3>struct GstRTSPSession</h3>
<pre class="programlisting">struct GstRTSPSession;</pre>
<p>Session information kept by the server for a specific client.
One client session, identified with a session id, can handle multiple medias
identified with the url of a media.</p>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPSessionClass"></a><h3>struct GstRTSPSessionClass</h3>
<pre class="programlisting">struct GstRTSPSessionClass {
  GObjectClass  parent_class;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPFilterResult"></a><h3>enum GstRTSPFilterResult</h3>
<p>Possible return values for <a class="link" href="GstRTSPSessionPool.html#gst-rtsp-session-pool-filter" title="gst_rtsp_session_pool_filter ()"><code class="function">gst_rtsp_session_pool_filter()</code></a>.</p>
<div class="refsect3">
<a name="GstRTSPFilterResult.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-RTSP-FILTER-REMOVE:CAPS"></a>GST_RTSP_FILTER_REMOVE</p></td>
<td class="enum_member_description">
<p>Remove session</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-RTSP-FILTER-KEEP:CAPS"></a>GST_RTSP_FILTER_KEEP</p></td>
<td class="enum_member_description">
<p>Keep session in the pool</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-RTSP-FILTER-REF:CAPS"></a>GST_RTSP_FILTER_REF</p></td>
<td class="enum_member_description">
<p>Ref session in the result list</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GstRTSPSession--sessionid"></a><h3>The <code class="literal">“sessionid”</code> property</h3>
<pre class="programlisting">  “sessionid”                <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>the session id.</p>
<p>Flags: Read / Write / Construct Only</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPSession--timeout"></a><h3>The <code class="literal">“timeout”</code> property</h3>
<pre class="programlisting">  “timeout”                  <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
<p>the timeout of the session (0 = never).</p>
<p>Flags: Read / Write</p>
<p>Default value: 60</p>
</div>
<hr>
<div class="refsect2">
<a name="GstRTSPSession--timeout-always-visible"></a><h3>The <code class="literal">“timeout-always-visible”</code> property</h3>
<pre class="programlisting">  “timeout-always-visible”   <a href="/usr/share/gtk-doc/html/glibglib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>timeout always visible in header.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GstRTSPSession.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GstRTSPSessionPool.html" title="GstRTSPSessionPool"><span class="type">GstRTSPSessionPool</span></a>, <a class="link" href="GstRTSPSessionMedia.html" title="GstRTSPSessionMedia"><span class="type">GstRTSPSessionMedia</span></a>, <a class="link" href="GstRTSPMedia.html" title="GstRTSPMedia"><span class="type">GstRTSPMedia</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>